package com.tiku.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tiku.controller.DTO.CommentTreeDTO;
import com.tiku.controller.DTO.UserCommentDTO;
import com.tiku.controller.DTO.UserErrorCollectionDTO;
import com.tiku.entity.UserComment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【user_comment】的数据库操作Mapper
* @createDate 2024-09-21 20:45:12
* @Entity com.tiku.entity.UserComment
*/
@Mapper
public interface UserCommentMapper extends BaseMapper<UserComment> {

    List<UserCommentDTO> selectUserComment(Integer pageNum , String classificationType);

    UserCommentDTO getSelectedUserComment(String id);

    List<CommentTreeDTO> selectSonComments(String id);

    List<UserErrorCollectionDTO> selecterror(String id);
}




